package com.woniu.new_orange.customization_model_zhang.service.impl;

import com.woniu.new_orange.customization_model_zhang.dto.AirTicketDto;
import com.woniu.new_orange.customization_model_zhang.service.AirTicketService;
import com.woniu.new_orange.customization_model_zhang.vo.AirTicketVo;
import com.woniu.new_orange.entity.AirTicket;
import com.woniu.new_orange.mapper.AirTicketMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Program: new_orange->AirTicketImpl
 * @Description:
 * @Author: PC
 * @Date: 2023-02-06 10:16
 * @Version： 1.0
 **/

@Service
public class AirTicketServiceImpl implements AirTicketService {
    @Resource
    private AirTicketMapper airTicketMapper;

    @Override
    public List<AirTicketVo> selectAll(Integer airTicketBy1) {
        return airTicketMapper.selectAll(airTicketBy1);
    }

    @Override
    public int insertSelective(AirTicket dynamicValidate) {

        return airTicketMapper.insertSelective(dynamicValidate);

    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return airTicketMapper.deleteByPrimaryKey(id);
    }

}
